Skip to content

Validate GitHub workflows against the ASF allowlist#3437

Merged
kpumuk merged 1 commit intoapache:masterfrom
kpumuk:asf-workflow-allowlist
May 2, 2026
Merged

Validate GitHub workflows against the ASF allowlist#3437
kpumuk merged 1 commit intoapache:masterfrom
kpumuk:asf-workflow-allowlist

Conversation

@kpumuk
Copy link
Copy Markdown
Member

@kpumuk kpumuk commented May 2, 2026

When a GitHub Actions workflow references an action that isn't on the ASF org-level allowlist, the CI job silently fails with "Startup failure" — no logs, no notifications, and the PR may appear green because no checks ran. This action catches those problems at PR time with a clear error message.

https://github.com/apache/infrastructure-actions/blob/main/allowlist-check/README.md

Actions not in the allow list

  • Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@kpumuk kpumuk requested review from Jens-G, fishy and jimexist as code owners May 2, 2026 12:24
@mergeable mergeable Bot added the github_actions Pull requests that update GitHub Actions code label May 2, 2026
@kpumuk kpumuk force-pushed the asf-workflow-allowlist branch 2 times, most recently from 4f09d60 to 0efeaae Compare May 2, 2026 12:30
@kpumuk kpumuk force-pushed the asf-workflow-allowlist branch from 0efeaae to a04d5cb Compare May 2, 2026 12:32
@kpumuk kpumuk merged commit 7f199cf into apache:master May 2, 2026
90 of 91 checks passed
@kpumuk kpumuk deleted the asf-workflow-allowlist branch May 2, 2026 20:55
@kpumuk kpumuk mentioned this pull request May 2, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant